package com.woniuxy.ticketorder.service;/*
@author houguai
@create 2021-02-23 16:50
*/

import com.woniuxy.ticketcommon.ResponceResult;
import com.woniuxy.ticketorder.service.impl.UserServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "ticket-user",fallback = UserServiceImpl.class)
@Service
public interface UserService {
    @GetMapping("user/add")
    String add();

    @GetMapping("user/addSocre")
    ResponceResult<Void> addSocre(int userid);

//    @GetMapping(value ="user/add" )
//    LoginAppUser find(@RequestParam("username")String username);

}















